home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / console / svgatext.3 / svgatext / SVGATextMode-1.3 / XFREE / common_hw / IBMRGB.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-29  |  2.5 KB  |  77 lines

  1. /* $XFree86: xc/programs/Xserver/hw/xfree86/common_hw/IBMRGB.h,v 3.0 1995/06/29 13:32:11 dawes Exp $ */
  2.  
  3. #define IBMRGB_REF_FREQ_1       14.31818
  4. #define IBMRGB_REF_FREQ_2       50.00000
  5.  
  6. #ifdef S3_SERVER
  7. /* Direct standard VGA registers, special index and data registers */
  8.  
  9. #define IBMRGB_WRITE_ADDR           0x3C8   /* CR55 low bit == 0 */
  10. #define IBMRGB_RAMDAC_DATA          0x3C9   /* CR55 low bit == 0 */
  11. #define IBMRGB_PIXEL_MASK           0x3C6   /* CR55 low bit == 0 */
  12. #define IBMRGB_READ_ADDR            0x3C7   /* CR55 low bit == 0 */
  13. #define IBMRGB_INDEX_LOW            0x3C8   /* CR55 low bit == 1 */
  14. #define IBMRGB_INDEX_HIGH           0x3C9   /* CR55 low bit == 1 */
  15. #define IBMRGB_INDEX_DATA           0x3C6   /* CR55 low bit == 1 */
  16. #define IBMRGB_INDEX_CONTROL        0x3C7   /* CR55 low bit == 1 */
  17. #endif
  18.  
  19. #define IBMRGB_rev        0x00
  20. #define IBMRGB_id        0x01
  21. #define IBMRGB_misc_clock    0x02
  22. #define IBMRGB_sync        0x03
  23. #define IBMRGB_hsync_pos    0x04
  24. #define IBMRGB_pwr_mgmt        0x05
  25. #define IBMRGB_dac_op        0x06
  26. #define IBMRGB_pal_ctrl        0x07
  27. #define IBMRGB_sysclk        0x08  /* not RGB525 */
  28. #define IBMRGB_pix_fmt        0x0a
  29. #define IBMRGB_8bpp        0x0b
  30. #define IBMRGB_16bpp        0x0c
  31. #define IBMRGB_24bpp        0x0d
  32. #define IBMRGB_32bpp        0x0e
  33. #define IBMRGB_pll_ctrl1    0x10
  34. #define IBMRGB_pll_ctrl2    0x11
  35. #define IBMRGB_pll_ref_div_fix    0x14
  36. #define IBMRGB_sysclk_ref_div    0x15  /* not RGB525 */
  37. #define IBMRGB_sysclk_vco_div    0x16  /* not RGB525 */
  38. #define IBMRGB_f0        0x20
  39. #define IBMRGB_m0        0x20
  40. #define IBMRGB_n0        0x21
  41. #define IBMRGB_curs        0x30
  42. #define IBMRGB_curs_xl        0x31
  43. #define IBMRGB_curs_xh        0x32
  44. #define IBMRGB_curs_yl        0x33
  45. #define IBMRGB_curs_yh        0x34
  46. #define IBMRGB_curs_hot_x    0x35
  47. #define IBMRGB_curs_hot_y    0x36
  48. #define IBMRGB_curs_col1_r    0x40
  49. #define IBMRGB_curs_col1_g    0x41
  50. #define IBMRGB_curs_col1_b    0x42
  51. #define IBMRGB_curs_col2_r    0x43
  52. #define IBMRGB_curs_col2_g    0x44
  53. #define IBMRGB_curs_col2_b    0x45
  54. #define IBMRGB_curs_col3_r    0x46
  55. #define IBMRGB_curs_col3_g    0x47
  56. #define IBMRGB_curs_col3_b    0x48
  57. #define IBMRGB_border_col_r    0x60
  58. #define IBMRGB_border_col_g    0x61
  59. #define IBMRGB_botder_col_b    0x62
  60. #define IBMRGB_misc1        0x70
  61. #define IBMRGB_misc2        0x71
  62. #define IBMRGB_misc3        0x72
  63. #define IBMRGB_misc4        0x73  /* not RGB525 */
  64. #define IBMRGB_dac_sense    0x82
  65. #define IBMRGB_misr_r        0x84
  66. #define IBMRGB_misr_g        0x86
  67. #define IBMRGB_misr_b        0x88
  68. #define IBMRGB_pll_vco_div_in    0x8e
  69. #define IBMRGB_pll_ref_div_in    0x8f
  70. #define IBMRGB_vram_mask_0    0x90
  71. #define IBMRGB_vram_mask_1    0x91
  72. #define IBMRGB_vram_mask_2    0x92
  73. #define IBMRGB_vram_mask_3    0x93
  74. #define IBMRGB_curs_array    0x100
  75.  
  76.  
  77.